/*
 * 描述： TUEF用戶聯繫信息Model
 * 修改人： Weng.weng
 * 修改时间： Mar 28, 2018
 * 项目： los-core
 */
package com.aeasycredit.credit.tuef.model;

import java.util.Date;

/**
 * TUEF用戶聯繫信息Model<br>
 * 
 * @author Weng.weng
 * @version [版本号, Mar 28, 2018]
 * @see [相关类/方法]
 * @since [产品/模块版本]
 */
public class TuefContact  {

    // 主鍵ID
    private String id;

    // 用戶ID
    private String userId;

    // 基本信息ID
    private String tuefBasicId;

    // Segment Tag
    private String segmentTag;
    
    // Country Code
    private String countryCode;
    
    // Area Code
    private String areaCode;

    // Contact Number
    private String contactNumber;
    
    // Ext/Call
    private String extCall;

    // Format
    private String format;

    // Capture Since Date
    private String captureSinceDate;

    // Last Reported Date
    private String lastReportedDate;

    // Multiple Contributor
    private String multipleContributor;

    // 創建時間
    private Date createTime;
    
    // 更新時間
    private Date updateTime;
    
    //电话状态
    private String contactNumberStatus;

    /** contact_number截取前四位,供分析使用*/
    private String contactNumberCut;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getTuefBasicId() {
        return tuefBasicId;
    }

    public void setTuefBasicId(String tuefBasicId) {
        this.tuefBasicId = tuefBasicId;
    }

    public String getSegmentTag() {
        return segmentTag;
    }

    public void setSegmentTag(String segmentTag) {
        this.segmentTag = segmentTag == null ? null : segmentTag.trim();
    }
    
    public String getCountryCode() {
        return countryCode;
    }

    public void setCountryCode(String countryCode) {
        this.countryCode = countryCode;
    }
    
    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getContactNumber() {
        return contactNumber;
    }

    public void setContactNumber(String contactNumber) {
        this.contactNumber = contactNumber == null ? null : contactNumber.trim();

        if(contactNumber != null){
            int end = contactNumber.length() > 4 ? 4 : contactNumber.length();
            this.contactNumberCut = contactNumber.substring(0, end);
        }
    }
    
    public String getExtCall() {
        return extCall;
    }

    public void setExtCall(String extCall) {
        this.extCall = extCall;
    }

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format == null ? null : format.trim();
    }

    public String getCaptureSinceDate() {
        return captureSinceDate;
    }

    public void setCaptureSinceDate(String captureSinceDate) {
        this.captureSinceDate = captureSinceDate == null ? null : captureSinceDate.trim();
    }

    public String getLastReportedDate() {
        return lastReportedDate;
    }

    public void setLastReportedDate(String lastReportedDate) {
        this.lastReportedDate = lastReportedDate == null ? null : lastReportedDate.trim();
    }

    public String getMultipleContributor() {
        return multipleContributor;
    }

    public void setMultipleContributor(String multipleContributor) {
        this.multipleContributor = multipleContributor == null ? null : multipleContributor.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getContactNumberStatus() {
        return contactNumberStatus;
    }

    public void setContactNumberStatus(String contactNumberStatus) {
        this.contactNumberStatus = contactNumberStatus;
    }

    public String getContactNumberCut() {
        return contactNumberCut;
    }

    public void setContactNumberCut(String contactNumberCut) {
        this.contactNumberCut = contactNumberCut;
    }
}